// 初始化是否已经开启场景
function init_open_skin(){
	// if($('.theme_content').data('show')==1){
    //     $('.theme_content').addClass('theme_show');
    // }
}
function skin_homepage(){
	buriedNewLog({
		buried_type:"click_vr_res_details_page_btn",
		vr_res_details_page_btn_content:4
});
	window.location.href = $('#user_id').val();
}
/*jxl:加入隐藏显示按钮*/
function isMobile() {
	var is_mobi = navigator.userAgent.toLowerCase().match(/(ipod|ipad|iphone|android|coolpad|mmp|smartphone|midp|wap|xoom|symbian|j2me|blackberry|wince)/i) != null;
	if (is_mobi) {
		// console.log(krpano.get("layer[leftbottom_bar].visible"));
		$('.right-bottom li.hide-li').show();
		krpano.set("layer[set_full].visible", false);

		krpano.set("layer[right_bar].x", -5);

		krpano.set("layer[set_scene].width", 30);
		krpano.set("layer[set_scene].height", 30);
		krpano.set("layer[set_scene_txt].css", 'font-family:微软雅黑; font-size:12px; color:#fff;');
		krpano.set("layer[set_scene_txt].y", 25);
		krpano.set("layer[leftbottom_bar].y", 20);
		krpano.set("layer[leftbottom_bar].x", 10);

		krpano.set("layer[set_music_icon].width", 30);
		krpano.set("layer[set_music_icon].height", 30);
		krpano.set("layer[set_music_txt].css", 'font-family:微软雅黑; font-size:12px; color:#fff;');
		krpano.set("layer[set_music_txt].y", 25);

		krpano.set("layer[set_vr_icon].width", 30);
		krpano.set("layer[set_vr_icon].height", 30);
		krpano.set("layer[set_vr_txt].css", 'font-family:微软雅黑; font-size:12px; color:#fff;');
		krpano.set("layer[set_vr_txt].y", 25);

		krpano.set("layer[watermark].width", 100);
		krpano.set("layer[watermark].height", 25);

		krpano.set("layer[user_logo].width", 25);
		krpano.set("layer[user_logo].height", 25);

		krpano.set("layer[vr_title].css", "font-family:微软雅黑; font-size:14px;color:#FFFFFF; line-height:25px;width:auto;display:inline-block;");

	}
}